﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Documents.web.Helpers
{
    public static class RequestHelper
    {
        public static bool IsAjaxRequest(HttpRequestBase request)
        {
            return request.Headers["X-Requested-With"] == "XMLHttpRequest";
        }

        
    }
}
